﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addUser.aspx.cs" Inherits="Xiangmu.addUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>新建</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
    <table align="center" bgcolor="yellow">
           <caption>新建用户</caption>
             <tr>
              <td>
                    用户名(不可修改)：
              </td>

              <td>
                <asp:TextBox ID="txtname" runat="server"></asp:TextBox>
              </td>
              <td>    <asp:Button ID="btncheck" runat="server" style="height: 21px" Text="检验是否存在"  onclick="btncheck_Click" />
              </td>
            </tr>
            <tr>
                <td class="style1">密码：
                </td>
                <td class="style1"> <asp:TextBox ID="txtpwd" runat="server"></asp:TextBox>
                </td>
                <td>  <asp:Label ID="lblmsg" runat="server" Text="提示信息："></asp:Label>
                </td>
            </tr>
             <tr>
                <td class="style1">QQ：
                </td>
                <td> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </td>
            </tr>

              <tr>
                <td class="style1">email：
                </td>
                </td>
                <td> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
            </tr>
            <tr>
                <td>类型
                </td>
                <td>
                 <asp:DropDownList ID="ddlnewss" runat="server"  Width="81px">
                     <asp:ListItem Selected="True" Value="学生">学生</asp:ListItem>
                     <asp:ListItem Value="老师">老师</asp:ListItem>
                 </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>  <asp:Button ID="btnnewss" runat="server" 
                        CssClass="btn btn-w-m btn-success" Text="创建此新角色" 
                        onclick="btnnewss_Click" />
                </td>
            </tr>
        </table>





           

    </div>
     </form>
</body>
</html>
